package com.vf.admin.miaodong.service.impl;

import com.vf.admin.miaodong.dao.GameSettingDao;
import com.vf.admin.miaodong.entity.GameSetting;
import com.vf.admin.miaodong.service.GameSettingService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 游戏设置
 */
@Service
public class GameSettingServiceImpl implements GameSettingService {
    private final Logger logger = LoggerFactory.getLogger(this.getClass());
    @Autowired
    private GameSettingDao gameSettingDao;

    /**
     * 详情
     * @return
     */
    @Override
    public GameSetting get() {
        return gameSettingDao.get();
    }

    /**
     * 修改游戏参数
     */
    @Override
    public void xiugai(String values) {
        gameSettingDao.xiugai(values);
    }
}
